﻿<?xml version="1.0" encoding="utf-8" ?>

<platform xmlns="http://metalx.org/Platform" namespace="http://metalx.org/Creative/SoundBlaster/Commands">
	<constants>
		<!--DSP 1.0-->
		<constant name="OutputPcm8" value="10"/>
		<constant name="InputPcm8" value="20"/>
		<constant name="SetTimeConstant" value="40"/>
		<constant name="DmaOutputPcm8" value="14"/>
		<constant name="DmaInputPcm8" value="24"/>
		<constant name="DmaOutputAdpcm4" value="74"/>
		<constant name="DmaOutputAdpcmReference4" value="75"/>
		<constant name="DmaOutputAdpcm3" value="76"/>
		<constant name="DmaOutputAdpcmReference3" value="77"/>
		<constant name="DmaOutputAdpcm2" value="16"/>
		<constant name="DmaOutputAdpcmReference2" value="17"/>
		<constant name="PauseDma" value="D0"/>
		<constant name="ResumeDma" value="D4"/>
		<constant name="SpeakerOn" value="D1"/>
		<constant name="SpeakerOff" value="D3"/>
		<constant name="InputMidiPolling" value="30"/>
		<constant name="InputMidiInterrupt" value="31"/>
		<constant name="OutputMidi" value="38"/>
		<constant name="PauseDsp" value="80"/>
		<constant name="GetDspVersion" value="E1"/>

		<!--DSP 2.0-->
		<constant name="AutoDmaOutputPcm8" value="1C"/>
		<constant name="AutoDmaInputPcm8" value="2C"/>
		<constant name="AutoDmaOutputAdpcmReference4" value="7D"/>
		<constant name="AutoDmaOutputAdpcmReference3" value="7F"/>
		<constant name="AutoDmaOutputAdpcmReference2" value="1F"/>
		<constant name="StopAutoDma8" value="DA"/>
		<constant name="SetBlockTransferSize" value="48"/>
		<constant name="UartMidiPolling" value="34"/>
		<constant name="UartMidiInterrupt" value="35"/>
		<constant name="UartMidiPollingTimeStamp" value="36"/>
		<constant name="UartMidiInterruptTimeStamp" value="37"/>
		<constant name="GetSpeakerStatus" value="D8"/>

		<!--DSP 2.01-->
		<constant name="FastAutoDmaOutputPcm8" value="90"/>
		<constant name="FastAutoDmaInputPcm8" value="98"/>
		<constant name="FastDmaOutputPcm8" value="91"/>
		<constant name="FastDmaInputPcm8" value="99"/>

		<!--DSP 3.0-->
		<constant name="SetMonoMode" value="A0"/>
		<constant name="SetStereoMode" value="A8"/>

		<!--DSP 4.0-->
		<constant name="SetOutputSampleRate" value="41"/>
		<constant name="SetInputSampleRate" value="42"/>
		<constant name="ProgramDma8" value="C0"/>
		<constant name="ProgramDma16" value="B0"/>
		<constant name="ProgramInput" value="08"/>
		<constant name="ProgramAutoDma" value="04"/>
		<constant name="ProgramFifo" value="02"/>
		<constant name="ModeStereo" value="20"/>
		<constant name="ModeSigned" value="10"/>
		<constant name="PauseDma16" value="D5"/>
		<constant name="ResumeDma16" value="D6"/>
		<constant name="StopAutoDma16" value="D9"/>

		<constant name="ReadyFlag" value="80"/>
	</constants>
</platform>